package com.axzhengxin.platform.business.domain;

import java.math.BigDecimal;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 需求抵质押物略对象 biz_apply_guarantee_pledge_relative    注：这是中间表
 * 
 * @author axzhengxin
 * @date 2021-02-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class BizApplyGuaranteePledgeRelative extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /**
     * 自增ID
     */
    private Integer id;
    /** 需求id */
    private String applyId;

    /** 关联id */
    private String relativeId;

    /** 关联类型(抵押物、质押物、担保合同等，见字典表相关配置) */
    private String relativeType;

    /** 预估价值 */
    @Excel(name = "预估价值")
    private BigDecimal estimatedAmount;

    private BizRoomInfo bizRoomInfo;
}
